package com.peas.platform.module.icims.expenditure.disbursement.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.disbursement.adapter.repository.ExpenditureInternetbankItemRepository;
import com.peas.platform.module.icims.expenditure.disbursement.adapter.repository.po.ExpenditureInternetbankItemPo;
import com.peas.platform.module.icims.expenditure.disbursement.domain.ExpenditureInternetbankItemDomain;
import com.peas.platform.module.icims.expenditure.disbursement.dto.ExpenditureInternetbankItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureInternetbankItemDomainImpl extends BaseDomainImpl<ExpenditureInternetbankItemDto, ExpenditureInternetbankItemPo> implements ExpenditureInternetbankItemDomain {

    @Resource
    private ExpenditureInternetbankItemRepository expenditureInternetbankItemRepository;

    @Override
    public BaseRepository<ExpenditureInternetbankItemPo> getMapper() {
        return expenditureInternetbankItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureInternetbankItemPo>> getRepositoryClass() {
        return ExpenditureInternetbankItemRepository.class;
    }

}
